package com.heima.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import com.heima.model.search.vos.SearchArticleVo;

import java.io.IOException;

/**
 * @author chenshan
 */
public interface SearchArticleService {
    ResponseResult searchArticle(UserSearchDto searchDto, String id) throws IOException;

    ResponseResult saveArticle(SearchArticleVo searchArticleVo) throws IOException;

    ResponseResult loadSearchHistory(String id);

    ResponseResult delSearchHistory(String id);

    ResponseResult searchAssociate(UserSearchDto searchDto);
}
